using System;
using System.Collections.Generic;

namespace aprogblog.Domain.Helpers {

    public static class Extensions {

        public static IEnumerable<T> ForEach<T>(this IEnumerable<T> Collection, Action<T> Process) {
            foreach (var Item in Collection) Process(Item); 
            return Collection;
        }
    }
}